package com.jh.loadbalance.client.service.feigns;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(name = "jh-cloud-loadbalance-server")
public interface SayingService {

    @GetMapping("/message/{message}")
    String say(@PathVariable String message);

}
